<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
<meta name="renderer" content="webkit"/>
<meta property="qc:admins" content="15317273575564615446375"/>
<meta property="og:image" content="./img/touch-icon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="alexaVerifyID" content="LkzCRJ7rPEUwt6fVey2vhxiw1vQ"/>
<meta name="apple-itunes-app" content="app-id=958101793, app-argument=">
<title>SegmentFault</title>
<meta name="description" content="SegmentFault ( www.sf.gg ) 是中国领先的开发者技术社区。 我们希望为编程爱好者提供一个纯粹、高质的技术交流的平台，与开发者一起学习、交流与成长，创造属于开发者的时代！"/>
<meta name="keywords" content="SegmentFault,黑客马拉松,IT技术社区,编程社区,技术问答,技术文章,技术笔记,技术活动,程序员招聘,开发者,程序员,极客,编程,代码,开源,hackathon"/>
<link rel="shortcut icon" href="/luntanshequ/Public/home/img/favicon.ico"/>
<link rel="apple-touch-icon" href="/luntanshequ/Public/home/img/touch-icon.png">
<meta name="msapplication-TileColor" content="#009a61"/>
<meta name="msapplication-square150x150logo" content="/luntanshequ/Public/home/img/touch-icon.png"/>
<link rel="stylesheet" href="/luntanshequ/Public/home/css/global.css"/>
<link rel="stylesheet" href="/luntanshequ/Public/home/css/responsive.css"/>
<script type="text/javascript" src="/luntanshequ/Public/home/js/assets.js"></script>
</head>

<body data-mod="note" class="note-record">
<img id="icon4weChat" style="height: 0;width: 0;" data-src="./img/touch-icon-512.png">
<img id="icon4weChat" data-src="./img/touch-icon-512.png">
<div class="sf-header global-nav shadow-bottom publish">
    <nav class="container nav">
        <div class="hidden-sm hidden-lg hidden-md">
            <div class="sf-header__logo sf-header__logo--response">
                <h1>
                    <a>
                    </a>
                </h1>
            </div>
            <div class="dropdown m-menu">
                <a href="javascript:void(0);" id="dLabel" class="visible-xs-block m-toptools"
                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <span class="glyphicon glyphicon-align-justify">
                    </span>
                    <span class="mobile-menu__unreadpoint">
                    </span>
                </a>
                <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                    <li class="mobile-menu__item">
                        <a href="/questions/newest">
                            问答
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/blogs">
                            文章
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/user/note">
                            笔记
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/jobs">
                            职位
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/events">
                            活动
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/tags">
                            标签
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/users">
                            榜单
                        </a>
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/sites">
                            子站
                        </a>
                    </li>
                    <li role="presentation" class="divider">
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/user/notifications">
                            消息
                            <span class="pull-right badge mt4" id="m-messageCount">
                                2
                            </span>
                        </a>
                    </li>
                    <li role="presentation" class="divider">
                    </li>
                    <li class="mobile-menu__item">
                        <a href="/api/user/logout?_=80aae733b2068747cd78901b719b541d">
                            退出
                        </a>
                    </li>
                </ul>
            </div>
            <a href="/ask" class="visible-xs-block pull-right m-ask m-toptools">
                <span class="glyphicon glyphicon-pencil">
                </span>
            </a>
        </div>
        <div class="row hidden-xs">
            <div class="col-sm-6">
                <div class="sf-header__logo">
                    <h1>
                        <a href="/">
                            SegmentFault
                        </a>
                    </h1>
                    <small>
                        记笔记
                    </small>
                </div>
            </div>
            <div class="col-sm-6 text-right">
                <ul class="opts  list-inline hidden-xs">
                    <li class="opts__item dropdown hoverDropdown write-btns">
                        <a class="dropdownBtn" data-toggle="dropdown" href="<?php echo U('home/user/askindex');?>">
                            撰写
                            <span class="caret">
                            </span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-right ">
                            <li>
                                <a href="<?php echo U('home/user/askindex');?>">
                                    提问题
                                </a>
                            </li>
                            <li>
                                <a href="/write">
                                    写文章
                                </a>
                            </li>
                            <li>
                                <a href="/record">
                                    记笔记
                                </a>
                            </li>
                            <li class="divider">
                            </li>
                            <li>
                                <a href="/user/draft">
                                    草稿箱
                                </a>
                            </li>
                        </ul>
                    </li>



                    <li class="opts__item message has-unread ">
                        <a id="dLabel" class="dropdown-toggle-message" href="javascript:;">
                            <span class="sr-only">消息</span>
                            <span id="messageCount" class="fa fa-bell-o"></span>
                        </a>
                        <div class="opts__item--message hide">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    <ul class="nav nav-tabs nav-tabs-message">
                                        <li role="presentation" class="active">
                                            <a href="#messageGeneral" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true"><i class="fa fa-bullhorn"></i><span class="notice-dot hide notice-dot-general"></span></a>
                                        </li>
                                        <li role="presentation" class="">
                                            <a href="#messageRanked" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true"><i class="fa fa-thumbs-o-up"></i><span class="notice-dot hide notice-dot-ranked"></span></a></li>
                                        <li role="presentation" class="">
                                            <a href="#messageFollowed" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true"><i class="fa fa-user-plus"></i><span class="notice-dot hide notice-dot-followed"></span></a>
                                        </li>
                                        <li role="presentation" class="">
                                            <a href="#messageInbox" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true"><i class="fa fa-commenting"></i><span class="notice-dot hide notice-dot-inbox"></span></a>
                                        </li>
                                    </ul>
                                </div>
                                <div class="panel-body">
                                    <div class="tab-content">
                                        <div role="tabpanel" class="tab-pane active" id="messageGeneral">
                                            <ul class="mCustomScrollbar-message mCustomScrollbar _mCS_2 mCS-autoHide mCS_no_scrollbar" data-proto="general" data-mcs-theme="minimal-dark" style="position: relative; overflow: visible;">
                                                <div id="mCSB_2" class="mCustomScrollBox mCS-minimal-dark mCSB_vertical mCSB_outside" style="max-height: 270px;" tabindex="0">
                                                    <div id="mCSB_2_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y" style="position: relative; top: 0px; left: 0px;" dir="ltr">
                                                        <li class="bg-warning">欢迎你加入 SegmentFault 社区!  <a href="https://segmentfault.com/tour">新手一览 ➜</a>&nbsp;<a href="/u/harmon?_ea=902966"></a></li>
                                                    </div>
                                                </div>
                                                <div id="mCSB_2_scrollbar_vertical" class="mCSB_scrollTools mCSB_2_scrollbar mCS-minimal-dark mCSB_scrollTools_vertical" style="display: none;">
                                                    <div class="mCSB_draggerContainer">
                                                        <div id="mCSB_2_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 50px; height: 0px; top: 0px;" oncontextmenu="return false;">
                                                            <div class="mCSB_dragger_bar" style="line-height: 50px;"></div>
                                                        </div>
                                                        <div class="mCSB_draggerRail"></div>
                                                    </div>
                                                </div>
                                            </ul>
                                        </div>
                                        <div role="tabpanel" class="tab-pane" id="messageRanked">
                                            <ul class="mCustomScrollbar-message mCustomScrollbar _mCS_3 mCS-autoHide mCS_no_scrollbar" data-proto="ranked" data-mcs-theme="minimal-dark" style="position: relative; overflow: visible;">
                                                <div id="mCSB_3" class="mCustomScrollBox mCS-minimal-dark mCSB_vertical mCSB_outside" style="max-height: 270px;" tabindex="0">
                                                    <div id="mCSB_3_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y" style="position: relative; top: 0px; left: 0px;" dir="ltr"></div>
                                                </div>
                                                <div id="mCSB_3_scrollbar_vertical" class="mCSB_scrollTools mCSB_3_scrollbar mCS-minimal-dark mCSB_scrollTools_vertical" style="display: none;">
                                                    <div class="mCSB_draggerContainer">
                                                        <div id="mCSB_3_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 50px; top: 0px;" oncontextmenu="return false;">
                                                            <div class="mCSB_dragger_bar" style="line-height: 50px;"></div>
                                                        </div>
                                                        <div class="mCSB_draggerRail"></div>
                                                    </div>
                                                </div>
                                            </ul>
                                        </div>
                                        <div role="tabpanel" class="tab-pane" id="messageFollowed">
                                            <p class="follow-tips">他们最近关注了你</p>
                                            <ul class="mCustomScrollbar-message mCustomScrollbar _mCS_4 mCS-autoHide mCS_no_scrollbar" data-proto="followed" data-mcs-theme="minimal-dark" style="position: relative; overflow: visible;">
                                                <div id="mCSB_4" class="mCustomScrollBox mCS-minimal-dark mCSB_vertical mCSB_outside" style="max-height: 270px;" tabindex="0">
                                                    <div id="mCSB_4_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y" style="position: relative; top: 0px; left: 0px;" dir="ltr"></div>
                                                </div>
                                                <div id="mCSB_4_scrollbar_vertical" class="mCSB_scrollTools mCSB_4_scrollbar mCS-minimal-dark mCSB_scrollTools_vertical" style="display: none;">
                                                    <div class="mCSB_draggerContainer">
                                                        <div id="mCSB_4_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 50px; top: 0px;" oncontextmenu="return false;">
                                                            <div class="mCSB_dragger_bar" style="line-height: 50px;"></div>
                                                        </div>
                                                        <div class="mCSB_draggerRail"></div>
                                                    </div>
                                                </div>
                                            </ul>
                                        </div>
                                        <div role="tabpanel" class="tab-pane" id="messageInbox">
                                            <p class="follow-tips">他们给你发了私信</p>
                                            <ul class="mCustomScrollbar-message mCustomScrollbar _mCS_5 mCS-autoHide mCS_no_scrollbar" data-proto="inbox" data-mcs-theme="minimal-dark" style="position: relative; overflow: visible;">
                                                <div id="mCSB_5" class="mCustomScrollBox mCS-minimal-dark mCSB_vertical mCSB_outside" style="max-height: 270px;" tabindex="0">
                                                    <div id="mCSB_5_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y" style="position: relative; top: 0px; left: 0px;" dir="ltr">
                                                        <p class="text-center">没有人给你发私信</p>
                                                    </div>
                                                </div>
                                                <div id="mCSB_5_scrollbar_vertical" class="mCSB_scrollTools mCSB_5_scrollbar mCS-minimal-dark mCSB_scrollTools_vertical" style="display: none;">
                                                    <div class="mCSB_draggerContainer">
                                                        <div id="mCSB_5_dragger_vertical" class="mCSB_dragger" style="position: absolute; min-height: 50px; top: 0px;" oncontextmenu="return false;">
                                                            <div class="mCSB_dragger_bar" style="line-height: 50px;"></div>
                                                        </div>
                                                        <div class="mCSB_draggerRail"></div>
                                                    </div>
                                                </div>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                                <div class="panel-footer">
                                    <div class="row">
                                        <div class="col-sm-6">
                                            <a href="javascript:;" class="message-ingore-all"><span class="glyphicon glyphicon-ok-sign"></span>全部标记为已读</a>
                                        </div>
                                        <div class="col-sm-6">
                                            <a class="opts__item--message-view-all" href="/user/notifications">查看全部 »</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>



                    <li class="opts__item user dropdown hoverDropdown">
                        <a class="dropdownBtn user-avatar" data-toggle="dropdown" style="background-image: url('<?php echo '/luntanshequ'.'/'.$_SESSION["face"] ?>')"
                        href="/u/harmon">
                        </a>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li>
                                <a href="/u/harmon">
                                    我的主页
                                </a>
                            </li>
                            <li>
                                <a href="/u/harmon/profile">
                                    我的档案
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo U('Home/Setting/index');?>">
                                    账号设置
                                </a>
                            </li>
                            <li>
                                <a href="<?php echo U('Home/Login/loginout');?>">
                                    退出
                                </a>
                            </li>
                            <li class="divider">
                            </li>
                            <li>
                                <a href="https://board.segmentfault.com/">
                                    建议反馈
                                </a>
                            </li>
                            <li>
                                <a class="js__action--complain" href="javascript:void(0);">
                                    用户申诉
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>

<div class="wrap how2ask">
    <div class="container mt40 bg-warning">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="fmt" style="overflow:hidden;">
                    <h1 class="h2k-title">
                        关于如何提问
                    </h1>
                    <h3 class="h2k-strong">
                        先搜索，再提问
                    </h3>
                    <p>
                        你提问前有在 Google、百度或者我们的
                        <a href="https://segmentfault.com/search">
                            搜索栏
                        </a>
                        先行搜索过吗？使用搜索（引擎），能更快地帮你找到答案。即使没找到，在看了相关或者类似的问题之后，你的提问会更准确。
                    </p>
                    <form action="<?php echo U('index/search/index');?>">
                        <div class="row pb20">
                            <div class="col-sm-6 col-xs-8">
                                <input class="form-control h2k-search" type="text" name="q" value="" required=""
                                placeholder="输入关键字搜索" autocomplete="off">
                            </div>
                            <div class="col-sm-2 col-xs-4">
                                <button type="submit" class="btn btn-primary btn-block">
                                    搜索
                                </button>
                            </div>
                        </div>
                    </form>
                    <div id="titleSuggest" class="panel hidden widget-suggest panel-default">
                        <div class="panel-body">
                            <p>
                                <strong>
                                    这些问题可能有你需要的答案
                                </strong>
                                <button type="button" class="widget-suggest__close btn btn-default btn-xs">
                                    关闭提示
                                </button>
                            </p>
                            <ul id="qList" class="list-unstyled widget-suggest__list">
                            </ul>
                        </div>
                    </div>
                    <div class="row mt40">
                        <div class="col-sm-6">
                            <h3 class="h2k-strong">
                                尽量清楚、详细地描述问题
                            </h3>
                            <ul class="list-unstyled">
                                <li class="mb5 hook hook-primary">
                                    编程技术、软件算法、开发工具相关
                                </li>
                                <!-- <li class="mb5 hook hook-primary clearfix">
                                    <div class="pull-left" style="margin-left:28px; margin-top:-22px;">
                                        <strong>
                                            标题
                                        </strong>
                                        清晰明了，
                                        <strong>
                                            内容
                                        </strong>
                                        包含必要的操作环境、截图和代码、期望结果与实际结果
                                    </div>
                                </li> -->
                                <li class="mb5 hook hook-primary">
                                    善用
                                    <a href="/markdown">
                                        编辑器
                                    </a>
                                    排版你的问题，提高可读性
                                </li>
                                <li class="hook hook-primary">
                                    准确地使用多个
                                    <strong>
                                        标签
                                    </strong>
                                    标记你的问题
                                </li>
                            </ul>
                        </div>
                        <div class="col-sm-6">
                            <h3 class="h2k-strong">
                                不适合发布的
                            </h3>
                            <ul class="list-unstyled">
                                <li class="mb5 hook hook-danger">
                                    你自己没有尝试找过答案
                                </li>
                                <li class="mb5 hook hook-danger">
                                    征询产品、服务推荐
                                </li>
                                <li class="mb5 hook hook-danger">
                                    软件程序评比投票，没有结论的观点讨论
                                </li>
                                <li class="hook hook-danger">
                                    任何与编程开发无关问题
                                </li>
                            </ul>
                        </div>
                    </div>
                    <h3 class="h2k-strong">
                        保持求知欲
                    </h3>
                    <p>
                        或许最后得到的答案并不是你最想要的，但深思熟虑过的问题依旧可能会让你有其他方面的收获。每个人的成长都是一步步来的，所以，Keep an open
                        mind。
                    </p>
                    <div class="mt40 border-top">
                        <div class="text-center mt40 mb40">
                            <a href="<?php echo U('home/user/userask');?>" class="btn btn-primary btn-lg">
                                我已知晓，继续提问
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>